import Vue from 'vue'
import Element from 'element-ui'
import locale from 'element-ui/lib/locale/lang/zh-CN'

Vue.use(Element, { locale })

/* 全局自定义组件
-------------------------- */
import fmlGrid from "../components/fmlGrid";//列表
import fmlPagination from "../components/fmlPagination";//分页
import fmlInput from "../components/fmlInput";//分页
import fmlSearch from "../components/fmlSearch";//分页
import fmlEditBtn from "../components/fmlEditBtn";//分页
import fmlHandleBtn from "../components/fmlHandleBtn";//分页
import fmlDialog from "../components/fmlDialog";//分页

const components = [
  fmlGrid,
  fmlPagination,
  fmlInput,
  fmlSearch,
  fmlEditBtn,
  fmlHandleBtn,
  fmlDialog
]
components.map(component => Vue.component(component.name, component))

